home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / X11 / config / usl.cf < prev    next >
Encoding:
Text File  |  2006-12-20  |  8.4 KB  |  319 lines

  1. XCOMM platform:  $Xorg: usl.cf,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
  2.  
  3.  
  4.  
  5.  
  6. XCOMM platform:  $XFree86: xc/config/cf/usl.cf,v 3.22 2001/01/12 19:28:24 dawes Exp $
  7.  
  8. #ifndef OSName
  9. # define OSName        DefaultOSName
  10. #endif
  11. #ifndef OSMajorVersion
  12. # define OSMajorVersion    DefaultOSMajorVersion
  13. #endif
  14. #ifndef OSMinorVersion
  15. # define OSMinorVersion    DefaultOSMinorVersion
  16. #endif
  17. #ifndef OSTeenyVersion
  18. # define OSTeenyVersion    DefaultOSTeenyVersion
  19. #endif
  20. XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
  21.  
  22. #ifndef  CcCmd
  23. # define CcCmd            /usr/ccs/bin/cc
  24. #endif
  25. #ifndef LexCmd
  26. # define LexCmd            /usr/ccs/bin/lex
  27. #endif
  28. #ifndef YaccCmd
  29. # define YaccCmd        /usr/ccs/bin/yacc
  30. #endif
  31. #ifndef MakeCmd
  32. # define MakeCmd        /usr/gnu/bin/gmake
  33. #endif
  34.  
  35. #ifndef HasGcc2ForCplusplus
  36. # ifndef  CplusplusCmd
  37. #  define CplusplusCmd        /usr/ccs/bin/CC
  38. # endif
  39. # ifndef  CplusplusFilt
  40. #  define CplusplusFilt        /usr/ccs/bin/c++filt
  41. # endif
  42. # ifndef  CplusplusDependIncludes
  43. #  define CplusplusDependIncludes    -I/usr/include/CC
  44. # endif
  45. #else
  46. # ifndef  CplusplusCmd
  47. #  define CplusplusCmd        /usr/gnu/bin/g++
  48. # endif
  49. # ifndef  CplusplusFilt
  50. #  define CplusplusFilt        /usr/gnu/bin/c++filt
  51. # endif
  52. #endif
  53.  
  54. #ifndef LibraryCCOptions
  55. # define LibraryCCOptions    -D_REENTRANT -DFD_SETSIZE=16384 
  56. #endif
  57.  
  58. #define BootstrapCFlags        /* none needed */
  59. #define StandardDefines        -DSVR4 -DSVR5 -Di386 -D__UNIXWARE__
  60. #define NeedWidePrototypes    YES
  61.  
  62. #ifdef HasGcc2
  63. # define DefaultCCOptions    GccWarningOptions
  64. # ifndef CcCmd
  65. #  define CcCmd            /usr/gnu/bin/gcc
  66. # endif
  67. # define DefaultCDebugFlags    -O6 -fomit-frame-pointer -march=i586 -mcpu=i586
  68. # ifndef OptimizedCDebugFlags
  69. #  define OptimizedCDebugFlags    -O6 -fomit-frame-pointer -march=i586 -mcpu=i586
  70. # endif
  71. #else
  72. # ifndef CcCmd
  73. #  define CcCmd            /usr/ccs/bin/cc
  74. # endif
  75. # define DefaultCCOptions    -dy -O -Kalloca -Dasm=__asm
  76. # define DefaultCDebugFlags    -O
  77. # ifndef OptimizedCDebugFlags
  78. #  define OptimizedCDebugFlags    -O
  79. # endif
  80. #endif
  81.  
  82. #ifndef DoLoadableServer
  83. # define DoLoadableServer    YES
  84. #endif
  85.  
  86. #if DoLoadableServer
  87. # if HasGcc
  88. #  define USLDynamicFlags    -rdynamic
  89. # else
  90. #  define USLDynamicFlags    -Wl,-Bexport
  91. # endif
  92. #else
  93. # define USLDynamicFlags    /**/
  94. #endif
  95.  
  96. #define ServerExtraDefines    XFree86ServerDefines
  97. #ifndef ServerExtraSysLibs 
  98. # define ServerExtraSysLibs    $(CBRT) -lm USLDynamicFlags
  99. #endif
  100.  
  101. #define ServerOSDefines        -D_REENTRANT -DFD_SETSIZE=16384 -DDDXTIME XFree86ServerOSDefines
  102. #define ToolkitStringsABIOptions -intelabi
  103. #if OSMajorVersion < 2
  104. #define XawI18nDefines        -DHAS_WCTYPE_H -DHAS_ISW_FUNCS
  105. #else
  106. #define XawI18nDefines        -DHAS_WCHAR_H -DHAS_ISW_FUNCS
  107. #endif
  108. #if OSMajorVersion > 1 || OSTeenyVersion > 1
  109. # if OSMajorVersion >= 7
  110. #  define ExtraLibraries        -lsocket -lnsl -lgen
  111. # else
  112. #  define ExtraLibraries        -lsocket -lnsl -lgen -lw
  113. # endif
  114. # define ThreadedX        YES
  115. # define HasThreadSafeAPI    NO
  116. /* UnixWare does not have MT-safe pwd routines. */
  117. # define MTSafeAPIDefines    -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_GRPAPI
  118. # define SystemMTDefines    -D_REENTRANT
  119. # ifdef HasGcc2
  120. #  define ThreadsLoadFlags    -pthread
  121. # else
  122. #  define ThreadsLoadFlags    -Kpthread
  123. # endif
  124. #endif
  125. #define BuildLibPathVar        LD_LIBRARY_PATH
  126.  
  127. #ifndef BuildXterm
  128. # define BuildXterm        BuildClients
  129. #endif
  130.  
  131. #ifndef HasNCurses
  132. # define HasNCurses        YES
  133. #endif
  134. #ifndef NCursesLibName
  135. # define NCursesLibName        -lcurses
  136. #endif
  137. #ifndef TermcapLibrary
  138. # define TermcapLibrary        -lcurses
  139. #endif
  140.  
  141. #ifndef BuildFreetypeDlModule
  142. # define BuildFreetypeDlModule    NO
  143. #endif
  144.  
  145. #ifndef UseDeprecatedKeyboardDriver
  146. #define UseDeprecatedKeyboardDriver NO
  147. #endif
  148.  
  149. #ifndef ManSuffix
  150. # define ManSuffix        1
  151. #endif
  152.  
  153. #ifndef LibManSuffix
  154. # define LibManSuffix        3
  155. #endif
  156.  
  157. #ifndef FileManSuffix
  158. # define FileManSuffix        4
  159. #endif
  160.  
  161. #ifndef UseExportLists
  162. # define UseExportLists        NO
  163. #endif
  164.  
  165. #define GencatFlags        -m
  166.  
  167. #ifndef HasCplusplus
  168. # define HasCplusplus        YES
  169. #endif
  170.  
  171. #ifndef HasDlopen
  172. # define HasDlopen        YES
  173. #endif
  174.  
  175. #ifndef HasShm
  176. # define HasShm            YES
  177. #endif
  178.  
  179. #ifndef HasStrcasecmp
  180. # define HasStrcasecmp        YES
  181. #endif
  182.  
  183. #ifndef HasSnprintf
  184. # define HasSnprintf        NO
  185. #endif
  186.  
  187. #ifndef UseSmartScheduler
  188. # define UseSmartScheduler    NO
  189. #endif
  190.  
  191. #define SharedLibXmu            YES
  192.  
  193. #ifndef NothingOutsideProjectRoot 
  194. # define NothingOutsideProjectRoot YES
  195. #endif
  196.  
  197. #ifndef UseSeparateConfDir
  198. # define UseSeparateConfDir    NO
  199. #endif
  200.  
  201. #ifndef BuildHtmlManPages
  202. # define BuildHtmlManPages    NO
  203. #endif
  204.  
  205. #ifndef SCOHasGWXLIBS
  206. # define SCOHasGWXLIBS        YES
  207. #endif
  208.  
  209. #if SCOHasGWXLIBS
  210. #define HasExpat        YES
  211. #define HasFreetype2        YES
  212. #define HasLibpng        YES
  213. #define HasZlib            YES
  214. #define HasFontconfig        YES
  215. #define HasXpm            YES
  216. #endif /* SCOHasGWXLIBS */
  217.  
  218. #define InstallHardcopyDocs    NO
  219.  
  220. #define HasPerl            YES
  221. #define HasPerl5        YES
  222.  
  223. /*
  224.  * When generating templates the UnixWare 2.02 C++ compiler leaves
  225.  * protected .i files behind.  Remove them so other people can
  226.  * compile too.
  227.  */
  228. #ifndef ObjectCplusplusCompile
  229. #define ObjectCplusplusCompile(options) RemoveFiles($@ $*.i)        @@\
  230.     ClearmakeOSName \
  231.     $(CXX) -c $(CXXFLAGS) options $*.CCsuf
  232. #endif
  233.  
  234. /* USL does not have a shared regex library. */
  235. #define UseLocalRegex        YES
  236.  
  237. #define XmDefines        -DSUPPORT_ZERO_WIDTH -DHAS_WIDECHAR_FUNCTIONS
  238. #define DtSvcDefines        -DXK_MISCELLANY -DMULTIBYTE
  239. #define DtSearchDefines        -DI18N_MSG DtSvcDefines
  240. #define DtWidgetDefines        DtSearchDefines
  241. #define DtPrintDefines        DtSearchDefines
  242.  
  243. /* For DtHelp's TIFF processing routines. */
  244. #define LSBBitOrder        YES
  245.  
  246. #define ArchitectureDefines    -DUSL_ARCHITECTURE
  247.  
  248. #define ExportListGenSource    elistgen.usl
  249. #define ShlibExportListOpt(filename)    Concat(-Bexport:,filename)
  250.  
  251. /* <X11/Xos_r.h> requires process locking for missing _r functions */
  252. #define TtClientLibs $(TTLIB) $(XTOOLLIB) $(XLIB)
  253. #define TtClientDepLibs $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
  254.  
  255. #define CdeProjectDefines \
  256.     -DANSICPP -DMULTIBYTE -DNLS16 \
  257.     -DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion
  258.  
  259. /*
  260.  * These settings control the interdependence of the shared libraries.
  261.  * Mostly borrowed from darwinLib.tmpl.
  262.  */
  263. #ifndef FixupLibReferences
  264. #define FixupLibReferences()                        @@\
  265. XMULIBONLY = -lXmu                            @@\
  266. XMULIB = $(XMULIBONLY) $(XTOOLLIB) $(XLIB)
  267. #endif
  268.  
  269. #ifndef XawClientLibs
  270. #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWCLIENTLIBS) $(XLIB)
  271. #endif
  272.  
  273. #define SharedXlibi18nReqs    $(LDPRELIB) $(XLIBONLY)
  274.  
  275. #define SharedXfontReqs        $(LDPRELIB) $(FONTSTUBLIB) GzipLibrary $(FREETYPE2LIB) $(XLIB)
  276. #define SharedFontencReqs    $(LDPRELIB) GzipLibrary
  277. #define SharedGLReqs        $(LDPRELIB) $(XLIB)
  278. #define SharedGLUReqs        $(LDPRELIB) $(XLIB) $(GLXLIB)
  279. #define SharedOSMesaReqs    $(LDPRELIB) $(XLIB) $(GLXLIB)
  280. #define SharedPexReqs        $(LDPRELIB) $(XONLYLIB) MathLibrary
  281. #define SharedSMReqs        $(LDPRELIB) $(ICELIB)
  282. #define SharedX11Reqs        $(LDPRELIB) -lsocket -lnsl
  283. #define SharedXawReqs        $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(EXTRAXAWREQS) $(XLIB)
  284. #define SharedXaw7Reqs        $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XPMLIB) $(XLIB)
  285. #define SharedXaw6Reqs        $(LDPRELIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
  286. #define SharedXcursorReqs    $(LDPRELIB) $(XRENDERLIB) $(XLIB)
  287. #define SharedXextReqs        $(LDPRELIB) $(XONLYLIB)
  288. #define SharedXiReqs        $(LDPRELIB) $(XLIB)
  289. #define SharedXieReqs        $(LDPRELIB) $(XONLYLIB)
  290. #define SharedXmuReqs        $(LDPRELIB) $(XTOOLLIB) $(XLIB)
  291. #define SharedXmuuReqs        $(LDPRELIB) $(XONLYLIB)
  292. #define SharedXpReqs        $(LDPRELIB) $(XLIB)
  293. #define SharedXpmReqs        $(LDPRELIB) $(XLIB)
  294. #define SharedXrandrReqs    $(LDPRELIB) $(XRENDERLIB) $(XLIB)
  295. #define SharedXrenderReqs    $(LDPRELIB) $(XLIB)
  296. #define SharedXtReqs        $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
  297. #define SharedXtstReqs        $(LDPRELIB) $(XLIB)
  298. #define SharedXvReqs        $(LDPRELIB) $(XLIB)
  299. #define SharedDPSReqs        $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
  300. #define SharedDPSTKReqs        $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(DPSLIB) $(XLIB)
  301. #define SharedOldXReqs        $(LDPRELIB) $(XONLYLIB)
  302. #define SharedpsresReqs        $(LDPRELIB) $(SMLIB) $(ICELIB) $(XTOOLLIB) $(XLIB)
  303. #define SharedXResReqs        $(LDPRELIB) $(XLIB)
  304. #define SharedXfontcacheReqs    $(LDPRELIB) $(XLIB)
  305. #define SharedXineramaReqs    $(LDPRELIB) $(XLIB)
  306. #define SharedXssReqs        $(LDPRELIB) $(XLIB)
  307. #define SharedXvMCReqs        $(LDPRELIB) $(XLIB)
  308. #define SharedXxf86miscReqs    $(LDPRELIB) $(XLIB)
  309. #define SharedXxf86vmReqs    $(LDPRELIB) $(XLIB)
  310. #define SharedxkbfileReqs    $(LDPRELIB) $(XONLYLIB)
  311. #define SharedxkbuiReqs        $(LDPRELIB) $(XKBFILELIB) $(XONLYLIB)
  312. #define SharedXReqs        $(XTOOLLIB) $(XPLIB) $(XLIB)
  313. #define SharedXmReqs        $(LDPRELIB) SharedXReqs
  314. #define SharedMrmReqs        $(LDPRELIB) $(XMLIB) SharedXReqs
  315. #define SharedUilReqs        $(LDPRELIB) $(XMLIB) SharedXReqs
  316.  
  317. #include <scoLib.rules>        /* minor changes to sv4Lib.rules */
  318. #include <svr4.cf>
  319.